package ai.people.netmon.framework.model.response;

import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author: Xing.Wei
 * @time: 2020-09-02 10:50
 */
@Data
@ToString
public class QueryResult<T> {
    //数据列表
    private List<T> list;
    //数据总数
    private long total;

    public QueryResult() {
        super();
    }

    public QueryResult(long total, List<T> list) {
        this.total = total;
        this.list = list;
    }
}
